﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopNotifyItem : BaseObject
    {
        //begin
        public TopNotifyItem(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _SkuId;
        [Size(SizeAttribute.Unlimited)]
        public string SkuId
        {
            get
            {
                return _SkuId;
            }
            set
            {
                SetPropertyValue("SkuId", ref _SkuId, value);
            }
        }
        private long _SkuNum;
        public long SkuNum
        {
            get
            {
                return _SkuNum;
            }
            set
            {
                SetPropertyValue("SkuNum", ref _SkuNum, value);
            }
        }
        private string _Iid;
        [Size(SizeAttribute.Unlimited)]
        public string Iid
        {
            get
            {
                return _Iid;
            }
            set
            {
                SetPropertyValue("Iid", ref _Iid, value);
            }
        }
        private string _NumIid;
        [Size(SizeAttribute.Unlimited)]
        public string NumIid
        {
            get
            {
                return _NumIid;
            }
            set
            {
                SetPropertyValue("NumIid", ref _NumIid, value);
            }
        }
        private string _Title;
        [Size(SizeAttribute.Unlimited)]
        public string Title
        {
            get
            {
                return _Title;
            }
            set
            {
                SetPropertyValue("Title", ref _Title, value);
            }
        }
        private string _Nick;
        [Size(SizeAttribute.Unlimited)]
        public string Nick
        {
            get
            {
                return _Nick;
            }
            set
            {
                SetPropertyValue("Nick", ref _Nick, value);
            }
        }
        private long _Num;
        public long Num
        {
            get
            {
                return _Num;
            }
            set
            {
                SetPropertyValue("Num", ref _Num, value);
            }
        }
        private string _Status;
        [Size(SizeAttribute.Unlimited)]
        public string Status
        {
            get
            {
                return _Status;
            }
            set
            {
                SetPropertyValue("Status", ref _Status, value);
            }
        }
        private string _ChangedFields;
        [Size(SizeAttribute.Unlimited)]
        public string ChangedFields
        {
            get
            {
                return _ChangedFields;
            }
            set
            {
                SetPropertyValue("ChangedFields", ref _ChangedFields, value);
            }
        }
        private decimal _Price;
        public decimal Price
        {
            get
            {
                return _Price;
            }
            set
            {
                SetPropertyValue("Price", ref _Price, value);
            }
        }
        private DateTime _Modified;
        public DateTime Modified
        {
            get
            {
                return _Modified;
            }
            set
            {
                SetPropertyValue("Modified", ref _Modified, value);
            }
        }
        //end
    }
}
